function newClass = pca_3To2(class)

model = pca(class', 2);
newClass  = linproj(class',model);
newClass = newClass';

end